//
//  Common.swift
//  新浪微博
//
//  Created by 朱玉龙 on 9/27/16.
//  Copyright © 2016 朱玉龙. All rights reserved.
//

import UIKit
    
let client_id = "1290203720"
let client_secret = "74b55fd3052a418b0cd61bbaf10bb57f"
let redirect_uri = "https://wx.qq.com"
let errorTitle = "世界上最遥远的距离就是没有网"
let kChangeRootController = "changeRootController"


let screenWidth: CGFloat = UIScreen.main.bounds.width
let screenHeight: CGFloat = UIScreen.main.bounds.height

func randomColor() -> UIColor {
    
    let r = CGFloat(arc4random() % 256) / 255.0
     let g = CGFloat(arc4random() % 256 ) / 255.0
     let b = CGFloat(arc4random() % 256) / 255.0
    
    return UIColor(red: r, green: g, blue: b, alpha: 1)
    
}

let plusItemW: CGFloat = screenWidth / 4
let emojiToolbarH: CGFloat = 36
let emojiInputViewH: CGFloat = 220
